Skip to content

Fix pi-extension after renaming the project - #31

Open
gurix wants to merge 1 commit into
parallel-web:mainfrom
gurix:fix/pi-extension-typebox-scope-rename
Open

Fix pi-extension after renaming the project#31
gurix wants to merge 1 commit into
parallel-web:mainfrom
gurix:fix/pi-extension-typebox-scope-rename

Conversation

@gurix

@gurix gurix commented Aug 3, 2026

Copy link
Copy Markdown

follow pi-coding-agent rename to @earendil-works, fix TypeBox duplicate-instance break

@mariozechner/pi-coding-agent is deprecated and frozen at 0.73.1 in favor of @earendil-works/pi-coding-agent (now 0.83.0+). Two things broke as a result:

  • pi-coding-agent 0.83.0 bumped its bundled TypeBox to 1.3.7 and removed deprecated APIs. pi-extension pinned its own typebox@^1.1.37 to build tool parameter schemas, so the host's upgraded TypeBox runtime no longer recognized schemas built from our separately-bundled older copy, breaking web_search/web_fetch tool registration. Pinned to the exact 1.3.7 the host uses so package managers dedupe to one instance.

  • ModelRegistry.authStorage, which parallel-auth.ts used directly to get/set/remove the stored Parallel API key, was removed from the public ExtensionContext surface entirely in 0.83.0 (auth storage moved fully behind ModelRuntime). Replaced it with a small self-owned credential file (~/.parallel/pi-credentials.json) so persistence no longer depends on pi-coding-agent's internal auth internals, which have now changed shape twice across recent versions.

…fix TypeBox duplicate-instance break

@mariozechner/pi-coding-agent is deprecated and frozen at 0.73.1 in favor
of @earendil-works/pi-coding-agent (now 0.83.0+). Two things broke as a
result:

- pi-coding-agent 0.83.0 bumped its bundled TypeBox to 1.3.7 and removed
  deprecated APIs. pi-extension pinned its own typebox@^1.1.37 to build
  tool parameter schemas, so the host's upgraded TypeBox runtime no longer
  recognized schemas built from our separately-bundled older copy,
  breaking web_search/web_fetch tool registration. Pinned to the exact
  1.3.7 the host uses so package managers dedupe to one instance.

- ModelRegistry.authStorage, which parallel-auth.ts used directly to
  get/set/remove the stored Parallel API key, was removed from the public
  ExtensionContext surface entirely in 0.83.0 (auth storage moved fully
  behind ModelRuntime). Replaced it with a small self-owned credential
  file (~/.parallel/pi-credentials.json) so persistence no longer depends
  on pi-coding-agent's internal auth internals, which have now changed
  shape twice across recent versions.

Updated the peerDependency and all imports to @earendil-works/pi-coding-agent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant